package com.yang.server.member.service;

import com.yang.server.member.pojo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Mu_YI
 * @Date: 2019/6/5 13:14
 * @Version 1.0
 */

@RestController
public class YangMemberServiceImpl implements YangMemberService {

    @RequestMapping(value = "/get-member")
    public User getMember(String name) {
        User user = new User();
        user.setName("YangYang");
        user.setAge(20);
        return user;
    }
}
